package cn.iocoder.yudao.module.system.controller.admin.dept.vo.dept;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - 部门同步 Request VO")
@Data
public class DeptSyncReqVO {

    @Schema(description = "部门ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "1024")
    @NotNull(message = "部门ID不能为空")
    private Long deptId;

    @Schema(description = "部门名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋道")
    @NotNull(message = "部门名称不能为空")
    private String deptName;

    @Schema(description = "父部门ID", example = "1024")
    private Long parentId;

    @Schema(description = "显示排序", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "显示排序不能为空")
    private Integer dispOrder;

    @Schema(description = "状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "状态不能为空")
    private String status;

    @Schema(description = "删除状态", requiredMode = Schema.RequiredMode.REQUIRED, example = "0")
    @NotNull(message = "删除状态不能为空")
    private String delFlag;

}